<!--公共开始-->
<include file="./public" />
<script type="text/javascript" src="__ROOT__/js/jquery.textSearch-1.0.js"></script>
<!--公共结束-->
<title>7min理财</title>
<script type="text/javascript">
$(function() {
	mainHeight();
    var keyword=$("#keyword")[0].value;
	$(".hot_list ul").textSearch(keyword);
	imgError();
})


function imgError()
{
$('img').error(function(){
$(this).attr('src','__ROOT__/images/know_cover.jpg'); 
}); 
}

</script>
</head>

<body>
<!--头部+顶部开始-->
<include file="./top" />
<!--头部+顶部结束-->

<!--主体开始-->
<div class="main-content">
    <div class="left70 left">
        
        <!--文章列表-->
        <div class="hot_list">
            <?php if($ArticleList){?>
            <div class="side-item" style="padding:0 15px;margin:0;">
                	<h1 style="border:0">您搜索的结果如下：</h1>
            </div>
            <ul>
             <?php foreach($ArticleList as $k => $v):?>
                <li class="show_two">
                    <div class="card">
                        <div class="card_img">
                            <a href="__URL__/knowledgecont/id/{$v['id']}" target="_blank">   
                                <img src="__ROOT__/Uploads/Knowledge_cover/{$v['headimg']}" />
                            </a>
                        </div>
                        <div class="card_info">
                            <h3>
                                <a href="__URL__/knowledgecont/id/{$v['id']}" target="_blank">{$v['title']}</a>
                            </h3>
                            <p class="time">{$v['addtime']}</p>
                            <p class="summary">{$v['summary']}</p>
                         </div>
                     </div>
                </li>
             <?php endforeach?>
            </ul>
            <?php }else{?>
                <div class="side-item" style="padding:0 15px;margin:0;">
                        <h1 style="border:0">对不起，没有找到相关内容</h1>
                </div>                
            <?php }?>
        </div>
        
        <div class="clear"></div>
        <!--翻页-->
        <div class="pagination">
            <div class="left">{$page}</div>

            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="right30 right">
        <!--右菜单 开始-->
		<div class="panel">
        	<div class="panel-head"><a href="__URL__/knowledge/t/99" <?php if ($typeid == 99) {?> style='color:#ff6c60' <?php }?> ><i class="fa fa-newspaper-o text-danger"></i>&nbsp;新闻</a></div>
            <div class="panel-head"><i class="fa fa-magic text-danger"></i>&nbsp;知识中心</div>
            <div class="panel-body left_nav">
            	<ul>
                 	<?php foreach($type as $k => $v):?>
                 	<li <?php if ($typeid == $k) {?> class='on' <?php }?> ><a href="__URL__/knowledge/t/<?php echo $k;?>"><i class="fa fa-angle-right"></i><?php echo $v['title'] .' ('. $v['sum'] . ')';?></a></li>
                    <?php endforeach?>
                </ul>
            
            </div>
        </div>
        <!--右菜单 结束-->
    </div>
    <div class="clear"></div>
</div>
<!--主体结束-->
<!--底部开始-->
<include file="./foot" />
<!--底部结束-->
</body>
</html>
